<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!-- 手动让浏览器请求favicon图标 -->
    <link rel="icon" href="./favicon.ico" />
  </head>
  <body>
    <!-- 这是用于渲染各个页面的根节点 -->
    <!-- router.go可以修改浏览器地址栏的路径,但是不发送请求 -->
    <button onclick="router.go('/index')">首页</button>
    <button onclick="router.go('/login')">登录页</button>
    <div id="root"></div>
  </body>
</html>
